import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const store = createPinia()
export { store }

store.use(persist)

export * from './modules/user'
export * from './modules/dataCache'
export default store
